#!/bin/bash

# set -o errexit  等价与set -e   比较好理解，遇到指令运行后返回非0 就返回终止
# set -o nounset 等价于set -u
# set -o xtrace 等价于set -x

set -o nounset 
set -o errexit

# digital section form
for i in  {1..10}
do
  echo $i
done

# list in detail
for File in 1 2 3 4 5
do
  echo $File
done
